package com.ht.power3d.vmap;

import java.util.Random;

/**
 * @author SU Xinyi
 * @since 2009-6-11
 */
public class TestJava {
    public static void main(String[] args) {
        Random rand = new Random(3);
        float f1 = 2.423414f;
        float f2 = 2342.123f;
        DataPoint dp = new DataPoint(1,2,3);
        long a = System.nanoTime();
        final int in = 100000;
        float sum =0;
        for(int i = 0; i<in; i++){
            sum += dp.value;
        }
        long b = System.nanoTime();
        System.out.println((b-a)/in);
    }
}
